Skip to content

use zend_string_equals* APIs for string comparisons#21707

Merged
LamentXU123 merged 5 commits into
php:masterfrom
LamentXU123:refactor-4
Jun 25, 2026
Merged

use zend_string_equals* APIs for string comparisons#21707
LamentXU123 merged 5 commits into
php:masterfrom
LamentXU123:refactor-4

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

use the zend_string APIs zend_string_equals* which are clearer, and can also do some pointer comparisons if the strings are interned for any reason.

Comment thread ext/soap/php_encoding.c Outdated
Comment thread ext/soap/php_encoding.c Outdated
@devnexen

Copy link
Copy Markdown
Member

your changes look correct ! but will let the code-owners decide about it.

Comment thread Zend/zend_object_handlers.c Outdated
@ndossche ndossche removed their request for review April 15, 2026 08:27
@LamentXU123 LamentXU123 requested a review from iluuu1994 June 25, 2026 05:09
@LamentXU123 LamentXU123 merged commit 9ae23ba into php:master Jun 25, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants